package com.qf.feign;

import com.qf.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "order-provider",fallback = OrderFeignFallback.class)
public interface OrderFeignClient {

    @GetMapping("/order/{uid}")
    public Result findByUid(@PathVariable("uid") Integer uid);
}
